Density of the matrix normal distribution: Density of the matrix normal distribution
Description
Density of the matrix normal distribution.
Usage
dmn(X, M, U, V, logged = FALSE)
Value
A numeric vector with the (logged) density values.
Arguments
X
A list with k elements, k matrices of dimension \(n \ times p\) each. In the case of one matrix only, this may be given as a numerical matrix and not as an element in a list.
M
The mean matrix of the distribution, a numerical matrix of dimensions \(n \times p\).
U
The covariance matrix associated with the rows, a numerical matrix of dimensions \(n \times n\).
V
The covariance matrix associated with the columns, a numerical matrix of dimensions \(p \times p\).